package com.svms.save.entitys;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SvdaRydabdxxExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public SvdaRydabdxxExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andObjectidIsNull() {
            addCriterion("objectid is null");
            return (Criteria) this;
        }

        public Criteria andObjectidIsNotNull() {
            addCriterion("objectid is not null");
            return (Criteria) this;
        }

        public Criteria andObjectidEqualTo(Long value) {
            addCriterion("objectid =", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidNotEqualTo(Long value) {
            addCriterion("objectid <>", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidGreaterThan(Long value) {
            addCriterion("objectid >", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidGreaterThanOrEqualTo(Long value) {
            addCriterion("objectid >=", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidLessThan(Long value) {
            addCriterion("objectid <", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidLessThanOrEqualTo(Long value) {
            addCriterion("objectid <=", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidIn(List<Long> values) {
            addCriterion("objectid in", values, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidNotIn(List<Long> values) {
            addCriterion("objectid not in", values, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidBetween(Long value1, Long value2) {
            addCriterion("objectid between", value1, value2, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidNotBetween(Long value1, Long value2) {
            addCriterion("objectid not between", value1, value2, "objectid");
            return (Criteria) this;
        }

        public Criteria andDaztIsNull() {
            addCriterion("dazt is null");
            return (Criteria) this;
        }

        public Criteria andDaztIsNotNull() {
            addCriterion("dazt is not null");
            return (Criteria) this;
        }

        public Criteria andDaztEqualTo(String value) {
            addCriterion("dazt =", value, "dazt");
            return (Criteria) this;
        }

        public Criteria andDaztNotEqualTo(String value) {
            addCriterion("dazt <>", value, "dazt");
            return (Criteria) this;
        }

        public Criteria andDaztGreaterThan(String value) {
            addCriterion("dazt >", value, "dazt");
            return (Criteria) this;
        }

        public Criteria andDaztGreaterThanOrEqualTo(String value) {
            addCriterion("dazt >=", value, "dazt");
            return (Criteria) this;
        }

        public Criteria andDaztLessThan(String value) {
            addCriterion("dazt <", value, "dazt");
            return (Criteria) this;
        }

        public Criteria andDaztLessThanOrEqualTo(String value) {
            addCriterion("dazt <=", value, "dazt");
            return (Criteria) this;
        }

        public Criteria andDaztLike(String value) {
            addCriterion("dazt like", value, "dazt");
            return (Criteria) this;
        }

        public Criteria andDaztNotLike(String value) {
            addCriterion("dazt not like", value, "dazt");
            return (Criteria) this;
        }

        public Criteria andDaztIn(List<String> values) {
            addCriterion("dazt in", values, "dazt");
            return (Criteria) this;
        }

        public Criteria andDaztNotIn(List<String> values) {
            addCriterion("dazt not in", values, "dazt");
            return (Criteria) this;
        }

        public Criteria andDaztBetween(String value1, String value2) {
            addCriterion("dazt between", value1, value2, "dazt");
            return (Criteria) this;
        }

        public Criteria andDaztNotBetween(String value1, String value2) {
            addCriterion("dazt not between", value1, value2, "dazt");
            return (Criteria) this;
        }

        public Criteria andGldaxxbhIsNull() {
            addCriterion("gldaxxbh is null");
            return (Criteria) this;
        }

        public Criteria andGldaxxbhIsNotNull() {
            addCriterion("gldaxxbh is not null");
            return (Criteria) this;
        }

        public Criteria andGldaxxbhEqualTo(String value) {
            addCriterion("gldaxxbh =", value, "gldaxxbh");
            return (Criteria) this;
        }

        public Criteria andGldaxxbhNotEqualTo(String value) {
            addCriterion("gldaxxbh <>", value, "gldaxxbh");
            return (Criteria) this;
        }

        public Criteria andGldaxxbhGreaterThan(String value) {
            addCriterion("gldaxxbh >", value, "gldaxxbh");
            return (Criteria) this;
        }

        public Criteria andGldaxxbhGreaterThanOrEqualTo(String value) {
            addCriterion("gldaxxbh >=", value, "gldaxxbh");
            return (Criteria) this;
        }

        public Criteria andGldaxxbhLessThan(String value) {
            addCriterion("gldaxxbh <", value, "gldaxxbh");
            return (Criteria) this;
        }

        public Criteria andGldaxxbhLessThanOrEqualTo(String value) {
            addCriterion("gldaxxbh <=", value, "gldaxxbh");
            return (Criteria) this;
        }

        public Criteria andGldaxxbhLike(String value) {
            addCriterion("gldaxxbh like", value, "gldaxxbh");
            return (Criteria) this;
        }

        public Criteria andGldaxxbhNotLike(String value) {
            addCriterion("gldaxxbh not like", value, "gldaxxbh");
            return (Criteria) this;
        }

        public Criteria andGldaxxbhIn(List<String> values) {
            addCriterion("gldaxxbh in", values, "gldaxxbh");
            return (Criteria) this;
        }

        public Criteria andGldaxxbhNotIn(List<String> values) {
            addCriterion("gldaxxbh not in", values, "gldaxxbh");
            return (Criteria) this;
        }

        public Criteria andGldaxxbhBetween(String value1, String value2) {
            addCriterion("gldaxxbh between", value1, value2, "gldaxxbh");
            return (Criteria) this;
        }

        public Criteria andGldaxxbhNotBetween(String value1, String value2) {
            addCriterion("gldaxxbh not between", value1, value2, "gldaxxbh");
            return (Criteria) this;
        }

        public Criteria andGxrIsNull() {
            addCriterion("gxr is null");
            return (Criteria) this;
        }

        public Criteria andGxrIsNotNull() {
            addCriterion("gxr is not null");
            return (Criteria) this;
        }

        public Criteria andGxrEqualTo(String value) {
            addCriterion("gxr =", value, "gxr");
            return (Criteria) this;
        }

        public Criteria andGxrNotEqualTo(String value) {
            addCriterion("gxr <>", value, "gxr");
            return (Criteria) this;
        }

        public Criteria andGxrGreaterThan(String value) {
            addCriterion("gxr >", value, "gxr");
            return (Criteria) this;
        }

        public Criteria andGxrGreaterThanOrEqualTo(String value) {
            addCriterion("gxr >=", value, "gxr");
            return (Criteria) this;
        }

        public Criteria andGxrLessThan(String value) {
            addCriterion("gxr <", value, "gxr");
            return (Criteria) this;
        }

        public Criteria andGxrLessThanOrEqualTo(String value) {
            addCriterion("gxr <=", value, "gxr");
            return (Criteria) this;
        }

        public Criteria andGxrLike(String value) {
            addCriterion("gxr like", value, "gxr");
            return (Criteria) this;
        }

        public Criteria andGxrNotLike(String value) {
            addCriterion("gxr not like", value, "gxr");
            return (Criteria) this;
        }

        public Criteria andGxrIn(List<String> values) {
            addCriterion("gxr in", values, "gxr");
            return (Criteria) this;
        }

        public Criteria andGxrNotIn(List<String> values) {
            addCriterion("gxr not in", values, "gxr");
            return (Criteria) this;
        }

        public Criteria andGxrBetween(String value1, String value2) {
            addCriterion("gxr between", value1, value2, "gxr");
            return (Criteria) this;
        }

        public Criteria andGxrNotBetween(String value1, String value2) {
            addCriterion("gxr not between", value1, value2, "gxr");
            return (Criteria) this;
        }

        public Criteria andSmIsNull() {
            addCriterion("sm is null");
            return (Criteria) this;
        }

        public Criteria andSmIsNotNull() {
            addCriterion("sm is not null");
            return (Criteria) this;
        }

        public Criteria andSmEqualTo(String value) {
            addCriterion("sm =", value, "sm");
            return (Criteria) this;
        }

        public Criteria andSmNotEqualTo(String value) {
            addCriterion("sm <>", value, "sm");
            return (Criteria) this;
        }

        public Criteria andSmGreaterThan(String value) {
            addCriterion("sm >", value, "sm");
            return (Criteria) this;
        }

        public Criteria andSmGreaterThanOrEqualTo(String value) {
            addCriterion("sm >=", value, "sm");
            return (Criteria) this;
        }

        public Criteria andSmLessThan(String value) {
            addCriterion("sm <", value, "sm");
            return (Criteria) this;
        }

        public Criteria andSmLessThanOrEqualTo(String value) {
            addCriterion("sm <=", value, "sm");
            return (Criteria) this;
        }

        public Criteria andSmLike(String value) {
            addCriterion("sm like", value, "sm");
            return (Criteria) this;
        }

        public Criteria andSmNotLike(String value) {
            addCriterion("sm not like", value, "sm");
            return (Criteria) this;
        }

        public Criteria andSmIn(List<String> values) {
            addCriterion("sm in", values, "sm");
            return (Criteria) this;
        }

        public Criteria andSmNotIn(List<String> values) {
            addCriterion("sm not in", values, "sm");
            return (Criteria) this;
        }

        public Criteria andSmBetween(String value1, String value2) {
            addCriterion("sm between", value1, value2, "sm");
            return (Criteria) this;
        }

        public Criteria andSmNotBetween(String value1, String value2) {
            addCriterion("sm not between", value1, value2, "sm");
            return (Criteria) this;
        }

        public Criteria andBdsjIsNull() {
            addCriterion("bdsj is null");
            return (Criteria) this;
        }

        public Criteria andBdsjIsNotNull() {
            addCriterion("bdsj is not null");
            return (Criteria) this;
        }

        public Criteria andBdsjEqualTo(Date value) {
            addCriterion("bdsj =", value, "bdsj");
            return (Criteria) this;
        }

        public Criteria andBdsjNotEqualTo(Date value) {
            addCriterion("bdsj <>", value, "bdsj");
            return (Criteria) this;
        }

        public Criteria andBdsjGreaterThan(Date value) {
            addCriterion("bdsj >", value, "bdsj");
            return (Criteria) this;
        }

        public Criteria andBdsjGreaterThanOrEqualTo(Date value) {
            addCriterion("bdsj >=", value, "bdsj");
            return (Criteria) this;
        }

        public Criteria andBdsjLessThan(Date value) {
            addCriterion("bdsj <", value, "bdsj");
            return (Criteria) this;
        }

        public Criteria andBdsjLessThanOrEqualTo(Date value) {
            addCriterion("bdsj <=", value, "bdsj");
            return (Criteria) this;
        }

        public Criteria andBdsjIn(List<Date> values) {
            addCriterion("bdsj in", values, "bdsj");
            return (Criteria) this;
        }

        public Criteria andBdsjNotIn(List<Date> values) {
            addCriterion("bdsj not in", values, "bdsj");
            return (Criteria) this;
        }

        public Criteria andBdsjBetween(Date value1, Date value2) {
            addCriterion("bdsj between", value1, value2, "bdsj");
            return (Criteria) this;
        }

        public Criteria andBdsjNotBetween(Date value1, Date value2) {
            addCriterion("bdsj not between", value1, value2, "bdsj");
            return (Criteria) this;
        }

        public Criteria andCzsjIsNull() {
            addCriterion("CZSJ is null");
            return (Criteria) this;
        }

        public Criteria andCzsjIsNotNull() {
            addCriterion("CZSJ is not null");
            return (Criteria) this;
        }

        public Criteria andCzsjEqualTo(String value) {
            addCriterion("CZSJ =", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjNotEqualTo(String value) {
            addCriterion("CZSJ <>", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjGreaterThan(String value) {
            addCriterion("CZSJ >", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjGreaterThanOrEqualTo(String value) {
            addCriterion("CZSJ >=", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjLessThan(String value) {
            addCriterion("CZSJ <", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjLessThanOrEqualTo(String value) {
            addCriterion("CZSJ <=", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjLike(String value) {
            addCriterion("CZSJ like", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjNotLike(String value) {
            addCriterion("CZSJ not like", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjIn(List<String> values) {
            addCriterion("CZSJ in", values, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjNotIn(List<String> values) {
            addCriterion("CZSJ not in", values, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjBetween(String value1, String value2) {
            addCriterion("CZSJ between", value1, value2, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjNotBetween(String value1, String value2) {
            addCriterion("CZSJ not between", value1, value2, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzrIsNull() {
            addCriterion("CZR is null");
            return (Criteria) this;
        }

        public Criteria andCzrIsNotNull() {
            addCriterion("CZR is not null");
            return (Criteria) this;
        }

        public Criteria andCzrEqualTo(String value) {
            addCriterion("CZR =", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrNotEqualTo(String value) {
            addCriterion("CZR <>", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrGreaterThan(String value) {
            addCriterion("CZR >", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrGreaterThanOrEqualTo(String value) {
            addCriterion("CZR >=", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrLessThan(String value) {
            addCriterion("CZR <", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrLessThanOrEqualTo(String value) {
            addCriterion("CZR <=", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrLike(String value) {
            addCriterion("CZR like", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrNotLike(String value) {
            addCriterion("CZR not like", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrIn(List<String> values) {
            addCriterion("CZR in", values, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrNotIn(List<String> values) {
            addCriterion("CZR not in", values, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrBetween(String value1, String value2) {
            addCriterion("CZR between", value1, value2, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrNotBetween(String value1, String value2) {
            addCriterion("CZR not between", value1, value2, "czr");
            return (Criteria) this;
        }

        public Criteria andCzbsIsNull() {
            addCriterion("CZBS is null");
            return (Criteria) this;
        }

        public Criteria andCzbsIsNotNull() {
            addCriterion("CZBS is not null");
            return (Criteria) this;
        }

        public Criteria andCzbsEqualTo(String value) {
            addCriterion("CZBS =", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsNotEqualTo(String value) {
            addCriterion("CZBS <>", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsGreaterThan(String value) {
            addCriterion("CZBS >", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsGreaterThanOrEqualTo(String value) {
            addCriterion("CZBS >=", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsLessThan(String value) {
            addCriterion("CZBS <", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsLessThanOrEqualTo(String value) {
            addCriterion("CZBS <=", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsLike(String value) {
            addCriterion("CZBS like", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsNotLike(String value) {
            addCriterion("CZBS not like", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsIn(List<String> values) {
            addCriterion("CZBS in", values, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsNotIn(List<String> values) {
            addCriterion("CZBS not in", values, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsBetween(String value1, String value2) {
            addCriterion("CZBS between", value1, value2, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsNotBetween(String value1, String value2) {
            addCriterion("CZBS not between", value1, value2, "czbs");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}